<!-- 提示 -->
<template>
    <div class="cue">
            
    </div>
</template>
    
<script>
    Toast('提示内容');
    Toast.loading({
      message: '加载中...',
      forbidClick: true
    });
    Toast.success('成功文案');
    Toast.fail('失败文案');
    // 动态更新提示
    const toast = Toast.loading({
      duration: 0, // 持续展示 toast
      forbidClick: true,
      message: '倒计时 3 秒'
    });
    let second = 3;
    const timer = setInterval(() => {
      second--;
      if (second) {
        toast.message = `倒计时 ${second} 秒`;
      } else {
        clearInterval(timer);
        // 手动清除 Toast
        Toast.clear();
      }
    }, 1000);


export default {
  data() {
    return {

    }
  },
  methods: {
        
  }
}
</script>
    
<style lang="css" scoped>

</style>